formRepFolder=../../Formula_representation/

all: release

release:
	g++ -c -L/usr/local/lib/ -I/usr/local/include -I$(formRepFolder) -I. $(compileFiles)

debug:
	g++ -g -c -L/usr/local/lib/ -I/usr/local/include -I$(formRepFolder) -I. $(compileFiles)

expression:
	make ../Formula_representation/Makefile
	g++ -g -L/usr/local/lib/ -I/usr/local/include -I$(formRepFolder) -c *.o

compileFiles = *.cpp # columnReference.cpp numericBinaryOperation.cpp intPrimaryExpression.cpp primaryExpression.cpp numericPrimaryExpression.cpp expression.cpp numericExpression.cpp numericUnaryOperation.cpp numericBinaryOperation.cpp booleanExpression.cpp logicBinaryOperation.cpp logicUnaryOperation.cpp truthValue.cpp column.cpp columnlist.cpp foreignkeyconstraint.cpp fromcomponent.cpp from.cpp primarykeyconstraint.cpp querytree.cpp schemacomponent.cpp schema.cpp select.cpp simplequery.cpp symbolicVariable.cpp tablecolumn.cpp tablecolumnlist.cpp tableconstraint.cpp tableconstraintlist.cpp table.cpp view.cpp where.cpp existsExpression.cpp groupBy.cpp

clean:
	rm *.o
